#pragma once

#include "base/core/singleton.h"
#include "Common/AccountDefine.h"

class Arena
{
public:
	Arena();
	virtual ~Arena();

	void		Init(ArenaDBInfo& arenaInfo);
	void		SaveData(ArenaDBInfo& arenaInfo);

	CharIDType	GetCharId();
	uint32_t    GetRankId();

	void		SetData(CharIDType charId, uint32_t rankId);

	void		Clean();

private:
	CharIDType	_charId;
	uint32_t	_rankId;
};
